{include file="public:header"/}

{include file="public:sidemenu"/}

<!-- row start -->
      <div class="am-g">
        <!-- col start -->
        <div class="am-u-md-6">
          <div class="card-box">
            <h4 class="header-title m-t-0 m-b-30">修改密码</h4>

            <form class="am-form" action="{:url('update')}" method="post">

              <input type="hidden" name="a_id" id="aid_edit">

                <div class="am-form-group">
                  <label for="doc-ipt-email-2">管理员名</label>
                  <input type="text" class="form-control-static" id="a_namea" name="a_name" value="{$admin.a_name}" ></input>
                </div>
            
                <div class="am-form-group">
                  <label for="doc-ipt-pwd-2">密码</label>
                  <input class="btn-block" type="password" id="a_passworda" placeholder="输入密码" name="a_password">
                </div>
            
                <button type="submit" class="am-btn am-btn-primary">修改</button>
            </form>
          </div>
        </div>
        <!-- col end -->
      </div>

<!-- <script>
      function jsedit(a_id) {
              //根据TID到数据库里把数据查询到显示在表单控件中
              $.getJSON("{:url('edit')}",{"a_id":a_id},
                  function(json) {
                      //alert(json.intro);
                      $("#aid_edit").val(json.a_id);
                      $("#a_ida").val(json.a_id);
                      $("#a_namea").val(json.a_name);
                      $("#a_passworda").val(json.a_password);
                  });
          }
    </script>  -->

{include file="public:footer"/}